Config Update
Update an existing lobby config in Remote Config.
Authentication Required: Yes
ugs lobby config update <config-id> <body> [options]
Arguments
<config-id>
The ID of the config to update.
<body>
The JSON body containing the updated config value. If this is a file path, the content of the file is used; otherwise, the raw string is used.
Options
Alias | Description | |
---|---|---|
project-id | -p, --project-id | The Unity cloud project ID. |
help | -?, -h, --help | Display help and usage information. |
quiet | -q, --quiet | Reduce logging to a minimum. |
json | -j, --json | Use JSON as the output format. |
Body option
The body option must include the type and values array of a config to update. No other data should be present. For example:
{
"type": "lobby",
"value": [
{
"key": "lobbyConfig",
"type": "json",
"schemaId": "lobbyv2",
"value": {
"socialProfilesEnabled": false,
"activeLifespanSeconds": 30,
"disconnectRemovalTimeSeconds": 120,
"disconnectHostMigrationTimeSeconds": 120,
"playerSlots": {
"maximum": 8,
"minimum": 4
}
}
}
]
}